package com.iiot.manage.entity;

import java.io.Serializable;
import java.io.Serializable;

/**
 * <p>
 * 设备类型
 * </p>
 *
 * @author danielzy
 * @since 2019-07-18
 */
public class DeviceType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long code;
    /**
     * 名称
     */
    private String name;
    /**
     * 备注信息
     */
    private String memo;
    /**
     * 删除标识
     */
    private Integer delete;
    /**
     * 当前标识
     */
    private Integer current;
    /**
     * 版本（乐观锁保留字段）
     */
    private Integer version;


    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "DeviceType{" +
        "code=" + code +
        ", name=" + name +
        ", memo=" + memo +
        ", delete=" + delete +
        ", current=" + current +
        ", version=" + version +
        "}";
    }
}
